package com.example.service;

import com.example.entity.authority.Party;
import com.example.ext.entity.ExtParty;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * Created by youkun on 2017/9/9.
 */
public interface PartyService {

    Map<String,Object> queryList(ExtParty extParty);

    Map<String, Object> queryRandomList(Map mao);

    Map<String,Object> add(Party party);

    Map<String,Object> update(Party party);

    Map<String,Object> deleteById(String id);

    Map<String,Object> queryById(String id);

    Map<String,Object> queryByIdList(String id);

    Map<String,Object> queryByIdAndTypeList(Party party);

    Map<String,Object> importExcelParty(MultipartFile file, String parentId);

    Map<String,Object> checkParytIdMessage(String partyId);

    Map<String,Object>  queryByNameLk(Map map);

    Map<String,Object> queryPartyByPartyLevel(Map map);


    Map<String, Object> queryCompanyNameList(Map companyName);

    Map<String, Object> queryChrssboard();

    Map<String, Object> queryMaintenanceCompanyNameList(Map companyName);

    Map<String,Object> queryUsePartCompanyNameList(Map companyName);
    Map<String,Object>queryStrList(ExtParty extParty);

    Map<String, Object> queryListByLevel(Map parammap);

    /**
     * 每天1点跑机构信息
     */
    void partyCensusInfo();
}
